POV-Ray : Newsgroups : povray.binaries.images : media-fog bug? : media-fog bug? Server Time
4 Nov 2024 17:55:34 EST (-0500)
  media-fog bug?  
From: Tek
Date: 18 Feb 2006 15:41:54
Message: <43f78692@news.povray.org>
I just did a quick google through the newsgroups but couldn't find an answer 
to this. Here's a really simple scene, with fog turned off the cylinder 
appears solid black, because it's a black & transparent checker containing a 
dense black media. But with fog turned on the media parts become lighter 
*regardless of how dense the media is*.

fog {
 fog_type 1
 rgb x
 distance 3
}

background { rgb z }

cylinder {
 -y, y, .3
 translate z*2
 hollow on
 pigment {
  checker
  rgb 0,
  rgbt 1
  scale <.3,.3,100>
 }
 interior {
  media { //media so dense that without fog it looks identical to the opaque 
bits.
   absorption 1
   density { rgb 100 }
  }
 }
}

Try increasing the media density, you'll see it doesn't get any darker.

Is this a known bug with media & fog? Is there any solution? It's screwing 
up the smoke in my volcano image :(

-- 
Tek
http://evilsuperbrain.com


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.